<?php echo '';exit;?>
<!--{eval $_G['home_tpl_titles'] = array('{lang message}');}-->

<!--{template home/space_header}-->

<!--{template home/space_menu}-->

<div class="klp_conwrapr">
	<div class="klp_midsecwrap">
		<div class="klp_datumitembox">

			<div class="klp_homecontent">
				<div class="klp_commentmod klp_artcomments klp_bloglist">

					<!--{if helper_access::check_module('wall')}-->
					<form id="quickcommentform_{$space[uid]}" action="home.php?mod=spacecp&ac=comment" method="post" autocomplete="off" onsubmit="ajaxpost('quickcommentform_{$space[uid]}', 'return_qcwall_$space[uid]');doane(event);">
					<div id="klp_neidocom" class="editcomment">
						<div class="klp_pingcon">
							<textarea name="message" id="comment_message" class="klp_textstyle klp_txtarastyle commentbig textarea gbook-textarea"></textarea><span class="klp_jzgg">严禁广告</span>
						</div>
						<div class="klp_expbox">
							<input type="hidden" name="referer" value="home.php?mod=space&uid=$wall[uid]&do=wall" />
							<input type="hidden" name="id" value="$space[uid]" />
							<input type="hidden" name="idtype" value="uid" />
							<input type="hidden" name="handlekey" value="qcwall_{$space[uid]}" />
							<input type="hidden" name="commentsubmit" value="true" />
							<input type="hidden" name="quickcomment" value="true" />
							<a id="comment_face" href="javascript:;" title="{lang insert_emoticons}" onclick="showFace(this.id, 'comment_message');return false;" class="ico_smile">添加表情</a>
							<!--{hook/space_wall_face_extra}-->
							<!--{if $_G['setting']['magicstatus'] && $_G['setting']['magics']['doodle']}-->
							<a id="a_magic_doodle" href="home.php?mod=magic&mid=doodle&showid=comment_doodle&target=comment_message" onclick="showWindow(this.id, this.href, 'get', '0')" style="margin-left: 20px;">
								<img src="{STATICURL}image/magic/doodle.small.gif" alt="doodle" class="vm" style="margin-right: 10px;"/>{$_G[setting][magics][doodle]}
							</a>
							<!--{/if}-->
							<span id="return_qcwall_{$space[uid]}" style="margin-left: 20px;"></span>
							<button type="submit" name="commentsubmit_btn" value="true" id="commentsubmit_btn" class="klp_btncurmid klp_btndisabled klp_addmess">留言</button>
						</div>
						<input type="hidden" name="formhash" value="{FORMHASH}" />
					</div>
					</form>
					<!--{/if}-->

					<div class="comment-box" >
						<div class="klp_allcommbox">
							<p class="commenttxt">全部留言</p>
							<div class="allcomment-con">
								<div class="commentwrap">
									<ul id="comment_ul" class="klp_pingcon klp_vwall">
										<!--{loop $list $k $value}-->
										<li id="comment_$value[cid]_li" class="comment-list">
										<a name="comment_anchor_$value[cid]"></a>
										<div class="comment-list-box gbook-list-box">
											<a href="home.php?mod=space&uid=$value[authorid]" class="userimg">
												<img src="{echo avatar($value[authorid],'big',1);}" alt="">
											</a>
											<div class="timebox">
												<a href="home.php?mod=space&uid=$value[authorid]" title="" class="usernick">$value[author]</a>
												<span class="issuetimer">
													<span class="time"><!--{echo date('Y-m-d ',$value[dateline]);}--></span>
												</span>
											</div>
											<p class="commoncon">
												<span class="commontxt">$value[message]</span>
											</p>
											<!--{if $_G[uid]}-->
											<div class="commenticons">
												<div class="ricons">
													<!--{if $value[authorid]==$_G[uid]}-->
													<span class="report klp_commnetreport">
														<a href="home.php?mod=spacecp&ac=comment&op=edit&cid=$value[cid]&handlekey=editcommenthk_{$value[cid]}" id="c_$value[cid]_edit" onclick="showWindow(this.id, this.href, 'get', 0);">{lang edit}</a>
													</span>
													<!--{/if}-->
													<!--{if $value[authorid]==$_G[uid] || $value[uid]==$_G[uid] || checkperm('managecomment')}-->
													<span class="report klp_commnetreport">
														<a href="home.php?mod=spacecp&ac=comment&op=delete&cid=$value[cid]&handlekey=delcommenthk_{$value[cid]}" id="c_$value[cid]_delete" onclick="showWindow(this.id, this.href, 'get', 0);">{lang delete}</a>
													</span>
													<!--{/if}-->
												</div>
											</div>
											<!--{/if}-->
										</div>
										</li>
										<!--{/loop}-->
									</ul>
								</div>
								<!--{if $multi}-->
								<div class="klp_moremess" style="padding-bottom: 0;">
									<div class="klp_homepage">$multi</div>
								</div>
								<!--{/if}-->
							</div>
						</div>
					</div>

				</div>
			</div>

			<script type="text/javascript">

				function succeedhandle_qcwall_{$space[uid]}(url, msg, values) {
					wall_add(values['cid']);
				}
			</script>

		</div>
	</div>
</div>

<!--{template home/space_footer}-->